var RecordRef = module.exports = function RecordRef() {
BaseObject.call(this);
@member {String|Number}
this.internalId = null;
@member {String|Number}
this.externalId = null;
};
util.inherits(RecordRef, BaseObject);
@override
RecordRef.prototype.getAttributes = function() {
var attrs = {
type: this.type,
'xsi:type': 'platformCore:RecordRef'
};
if (this.internalId) {
attrs.internalId = this.internalId;
}
if (this.externalId) {
attrs.externalId = this.externalId;
}
return attrs;
};
@override
RecordRef.prototype.getUnserializablePropertyNames = function() {
return ['internalId', 'externalId', 'type'];
};
@override
RecordRef.prototype.getSOAPType = function() {
// Always baseRef
return 'baseRef';
};